'Declaration<ExtensionAttribute()> <JetBrains.Annotations.NotNullAttribute()> Public Overloads Shared Function SubscribeMultipleEvents( _ ByVal client As IEasyAEClient, _ ByVal eventsSubscriptionArgumentsArray() As AEEventsSubscriptionArguments, _ ByVal callback As EasyAENotificationEventHandler _ ) As Integer()
'UsageDim client As IEasyAEClient Dim eventsSubscriptionArgumentsArray() As AEEventsSubscriptionArguments Dim callback As EasyAENotificationEventHandler Dim value() As Integer value = IEasyAEClientExtension2.SubscribeMultipleEvents(client, eventsSubscriptionArgumentsArray, callback)
[Extension()] [JetBrains.Annotations.NotNull()] public static int[] SubscribeMultipleEvents( IEasyAEClient client, AEEventsSubscriptionArguments[] eventsSubscriptionArgumentsArray, EasyAENotificationEventHandler callback )
[Extension()] [JetBrains.Annotations.NotNull()] public: static array<int>^ SubscribeMultipleEvents( IEasyAEClient^ client, array<AEEventsSubscriptionArguments^>^ eventsSubscriptionArgumentsArray, EasyAENotificationEventHandler^ callback )
Parameters
- client
- The client object that will perform the operation.
This is typically the OpcLabs.EasyOpc.AlarmsAndEvents.EasyAEClient object.
The value of this parameter cannot be
null(Nothingin Visual Basic). - eventsSubscriptionArgumentsArray
- Array of arguments, one element per each OPC events specification involved in the operation.
The value of this parameter cannot be
null(Nothingin Visual Basic).The individual elements of the parameter value cannot be
null(Nothingin Visual Basic). - callback
- A callback method to be invoked for each OPC event.
The value of this parameter can be
null(Nothingin Visual Basic).
Return Value
This method never returns null (Nothing in Visual Basic).